package com.andong.service;

import com.andong.domain.entity.Vehicle;
import com.andong.domain.pojo.PageResult;
import com.andong.domain.pojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;

/**
* @author 王海云
* @description 针对表【vehicle(车辆信息表)】的数据库操作Service
* @createDate 2024-01-03 18:19:58
*/
public interface VehicleService extends IService<Vehicle> {

    Result delete(Long ids);

    Result modify(Vehicle vehicle);

    PageResult queryList(Integer page, Integer pageSize, Integer status, Integer type, String plateNumber, LocalDate begin, LocalDate end);

    Result add(Vehicle vehicle);

    Result updateStatus(Long id, Integer status);
}
